Auto merge of #2917 - alexcrichton:cainfo, r=brson
authorbors <bors@rust-lang.org>
Tue, 26 Jul 2016 00:34:19 +0000 (17:34 -0700)
committerGitHub <noreply@github.com>
Tue, 26 Jul 2016 00:34:19 +0000 (17:34 -0700)
Add `http.cainfo` config for custom certs

This adds a `http.cainfo` option to Cargo which reads CA information from a
bundle to pass through to the underlying SSL implementation. This should allow
configuration of Cargo in situations where the default certificate store doesn't
contain the relevant certificates, such as behind corporate proxies.

cc #1180


Trivial merge